#include<stdio.h>
#include<time.h>
#define ROW 9
#define COL 9
#define ROWS ROW+2
#define COLS COL+2
#define num 10
void boardprint(char board[ROW][COL],int row,int col);
void intiboard(char board[ROWS][COLS], int rows, int cols, char ch);
void setmine(char board[ROWS][COLS],int row,int col);
void findmine(char mine[ROWS][COLS],char show[ROWS][COLS],int row,int col);
int get_mine_num(char mine[ROWS][COLS], int row, int col);
void baopo(char mine[ROWS][COLS], char show[ROWS][COLS], int x, int y);